/*
 * An XML document type.
 * Localname: ConnectToParametersType
 * Namespace: http://www.hpsearch.org/schemas/2006/05/BSA
 * Java type: cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument
 *
 * Automatically generated - do not modify.
 */
package cgl.narada.mgmt.schemas.bsa;


/**
 * A document containing one ConnectToParametersType(@http://www.hpsearch.org/schemas/2006/05/BSA) element.
 *
 * This is a complex type.
 */
public interface ConnectToParametersTypeDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ConnectToParametersTypeDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEFF8C5A1D88B5DFE2B6938A210CF65CD").resolveHandle("connecttoparameterstype2664doctype");
    
    /**
     * Gets the "ConnectToParametersType" element
     */
    cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument.ConnectToParametersType getConnectToParametersType();
    
    /**
     * Sets the "ConnectToParametersType" element
     */
    void setConnectToParametersType(cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument.ConnectToParametersType connectToParametersType);
    
    /**
     * Appends and returns a new empty "ConnectToParametersType" element
     */
    cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument.ConnectToParametersType addNewConnectToParametersType();
    
    /**
     * An XML ConnectToParametersType(@http://www.hpsearch.org/schemas/2006/05/BSA).
     *
     * This is a complex type.
     */
    public interface ConnectToParametersType extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ConnectToParametersType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEFF8C5A1D88B5DFE2B6938A210CF65CD").resolveHandle("connecttoparameterstype2799elemtype");
        
        /**
         * Gets the "targetBrokerHost" element
         */
        java.lang.String getTargetBrokerHost();
        
        /**
         * Gets (as xml) the "targetBrokerHost" element
         */
        org.apache.xmlbeans.XmlString xgetTargetBrokerHost();
        
        /**
         * Sets the "targetBrokerHost" element
         */
        void setTargetBrokerHost(java.lang.String targetBrokerHost);
        
        /**
         * Sets (as xml) the "targetBrokerHost" element
         */
        void xsetTargetBrokerHost(org.apache.xmlbeans.XmlString targetBrokerHost);
        
        /**
         * Gets the "targetBrokerPort" element
         */
        java.lang.String getTargetBrokerPort();
        
        /**
         * Gets (as xml) the "targetBrokerPort" element
         */
        org.apache.xmlbeans.XmlString xgetTargetBrokerPort();
        
        /**
         * Sets the "targetBrokerPort" element
         */
        void setTargetBrokerPort(java.lang.String targetBrokerPort);
        
        /**
         * Sets (as xml) the "targetBrokerPort" element
         */
        void xsetTargetBrokerPort(org.apache.xmlbeans.XmlString targetBrokerPort);
        
        /**
         * Gets the "linkType" element
         */
        java.lang.String getLinkType();
        
        /**
         * Gets (as xml) the "linkType" element
         */
        org.apache.xmlbeans.XmlString xgetLinkType();
        
        /**
         * Sets the "linkType" element
         */
        void setLinkType(java.lang.String linkType);
        
        /**
         * Sets (as xml) the "linkType" element
         */
        void xsetLinkType(org.apache.xmlbeans.XmlString linkType);
        
        /**
         * Gets the "level" element
         */
        int getLevel();
        
        /**
         * Gets (as xml) the "level" element
         */
        org.apache.xmlbeans.XmlInt xgetLevel();
        
        /**
         * Sets the "level" element
         */
        void setLevel(int level);
        
        /**
         * Sets (as xml) the "level" element
         */
        void xsetLevel(org.apache.xmlbeans.XmlInt level);
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument.ConnectToParametersType newInstance() {
              return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument.ConnectToParametersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument.ConnectToParametersType newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument.ConnectToParametersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument newInstance() {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (cgl.narada.mgmt.schemas.bsa.ConnectToParametersTypeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
